import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { WorkspaceForm, workspaceQuery, WorkspaceVO } from './types';
 

// 查询部门列表
export const listWorkspace = (query?: workspaceQuery) => {
    return request({
      url: '/mapserver/workspace/list',
      method: 'get',
      params: query
    });
  };
  